package com.xuan.temper.service.impl;

import com.xuan.temper.dao.ExponentialInfoDao;
import com.xuan.temper.entity.ExponentialInfo;
import com.xuan.temper.service.ExponentialInfoService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/** * @创建人： king xuan
 * @创建时间：2020/8/22
 * @描述：
 */

@Service
public class ExponentialInfoServiceImpl implements ExponentialInfoService {
    @Autowired
    private ExponentialInfoDao exponentialInfoDao;
    @Override
    public ExponentialInfo queryByStockCode( @Param("stockCode") String stockCode) {
        return exponentialInfoDao.queryByStockCode(stockCode);
    }

    @Override
    public List<ExponentialInfo> queryByName(@Param("name") String name) {
        return exponentialInfoDao.queryByName(name);
    }

    @Override
    public ExponentialInfo queryName(String name) {
        return exponentialInfoDao.queryName(name);
    }
}
